package com.zj.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("orders")
public class Orders implements Serializable {
    @TableId(value = "orderId")
    private Long orderId; // 订单ID
    @TableField(value = "userId")
    private Long userId; // 用户ID
    @TableField(value = "addressId")
    private Long addressId; // 地址ID
    @TableField(value = "orderTime")
    private Date orderTime; // 订单时间
    @TableField(value = "orderStatus")
    private Integer orderStatus; // 订单状态
}
